#ifndef NO_BLOCKING_POLICY_H
#define NO_BLOCKING_POLICY_H

#include <fcntl.h>
#include <sys/socket.h>
#include <arpa/inet.h>

namespace network {
	class no_blocking_policy {
	public:
		no_blocking_policy() {}
		~no_blocking_policy() {}

		void set_blocking(int sock);
		bool is_lost(int recv) const {return recv == -1;}
	private:
	};
}

#endif
